<template>
    <div class="box">
        <!-- <h1>Child组件</h1> -->
      
      <img :src='item' v-for='(item,index) in cimg' :key='index'/>
       
    </div>
</template>

<script>
export default {
    //接收到的父数据
    props:['cimg'],

}
</script>

<style scope>
    .box{
        width: 840px;
        height: 240;
        margin: 20px auto;
    }
    img{
        width: 200px;
        height: 200px;
        margin-left: 10px;
        margin-top: 10px;
    }
</style>